<template>
	<view class="con">
		<view class="bj">
			<u-navbar title="导航" :autoBack="true" bgColor="#3284fc"
				titleStyle="font-size:18px; color:white;height:44px;line-height:44px" leftIconColor="#fff">
			</u-navbar>
			<view class="page-body">
				<view class="page-section page-section-gap">
					<map style="width: 90%; height: 550px; padding:15px 15px;" :latitude="latitude"
						:longitude="longitude" :markers="covers">
					</map>
				</view>
			</view>
		</view>
		<view class="db">
			<view class="wz">
				<view style="font-weight: 600;">中国石油加油站</view>
				<view style="font-size: 12px; margin: 2px 0;">山阳区人民路与解放路交叉口</view>
			</view>
			<u-button type="primary" text="导航"></u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id: 0, // 使用 marker点击事件 需要填写id
				title: 'map',
				latitude: 34.825845,
				longitude: 113.558364,
				covers: [{
					latitude: 34.825845,
					longitude: 113.558364,
					iconPath: '../../../static/images/4@2x.png'
				}, {
					latitude: 34.825845,
					longitude: 113.558364,
					iconPath: '../../../static/images/4@2x.png'
				}]
			}
		},
		methods: {

		}
	}
</script>

<style scoped>
	.u-button {
		width: 80px;
		height: 35px;
		border-radius: 20px;
		margin-top: 10px;
		background-color: #0662e6;
		margin-right: 25px;
	}

	.wz {
		margin-left: 30px;
		margin-top: 10px;
	}

	.con {
		position: relative;
	}

	.db {
		width: 100%;
		height: 80px;
		/* border: 2px solid red; */
		position: fixed;
		background-color: #ffffff;
		bottom: 0;
		display: flex;
		justify-content: space-between;
		align-items: center;

	}


	.page-body {
		border-radius: 10px;
		margin: 50px auto;
		width: 95%;
		/* 		border: 2px solid red; */
		background-color: #ffffff;

	}

	.bj {
		width: 100%;
		height: 220px;
		background-color: #3384fc;
	}

	.dt {
		width: 40px;
		height: 40px;
		font-size: 14px;
		background-color: #ff6c00;
		border-radius: 50%;
		text-align: center;
		margin: 0 15px 0 15px;
		color: #f7f7f7;
		padding: 7px 7px;

	}
</style>